﻿using AutoMapper;
using ProductManagement.Api.DTOs;
using ProductManagement.Domain.Entities;

namespace ProductManagement.Api
{
    public class MappingProfile: Profile
    {
        public MappingProfile()
        {
            CreateMap<Product, ProductDto>().ReverseMap();
            CreateMap<User, UserDto>().ReverseMap();
        }
    }
}
